package cn.tedu.boot094.mapper;

import cn.tedu.boot094.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {

    int insert(Category category);

    List<Category> selectAll();
    Category selectById(int id);

    int update(Category category);

    int deleteById(int id);
    int deleteByIds(Integer[] ids);

    int count();

}
